home *** CD-ROM | disk | FTP | other *** search
Wrap
<% on error resume next dim SecurityBox if (Session("Index") <> "Index") then Response.Redirect "index.asp" else set SecurityBox = Server.CreateObject("AdvFusionBox.FusionBox") end if %> <!--- #include file = "index.js" ---> <html> <head> <title>ASPFusion Security Box Administration</title> </head> <body bgcolor="#CAE4FF"> <form action="act_websitesecuritydetail.asp" Method="POST" NAME="websitesecuritydetailform" onload="return focusit(document.websitesecuritydetailform.Path);"> <div align="right"> <table width="70%" align="left"> <tr width="100%" align="right"> <td><a href="javascript:submit(document.websitesecuritydetailform, document.websitesecuritydetailform.Logout, 'Logout')" onmouseover="window.status='Logout'; return true" onmouseout="window.status='';return true"><font color="#4D82D2" face="arial, helvetica, sans-serif" size="1">Logout</font></a></td> </tr> <tr width="100%" align="right"> <td><a href="dsp_changepassword.asp" onmouseover="window.status='Change Password'; return true" onmouseout="window.status='';return true"><font color="#4D82D2" face="arial, helvetica, sans-serif" size="1">Change Password</font></a></td> </tr> <tr width="100%" align="right"> <td><a href="dsp_registration.asp" onmouseover="window.status='Registration'; return true" onmouseout="window.status='';return true"><font color="#4D82D2" face="arial, helvetica, sans-serif" size="1">Registration</font></a></td> </tr> <tr width="100%" align="right"> <td><a href="dsp_default.asp" onmouseover="window.status='Default'; return true" onmouseout="window.status='';return true"><font color="#4D82D2" face="arial, helvetica, sans-serif" size="1">Default</font></a></td> </tr> <tr width="100%" align="right"> <td><a href="dsp_websitesecurity.asp" onmouseover="window.status='<< Back'; return true" onmouseout="window.status='';return true"><font color="#4D82D2" face="arial, helvetica, sans-serif" size="1"><< Back</font></a></td> </tr> </table> <table cellpadding="0" cellspacing="1" width="25%"> <tr width="100%" align="right"> <td><img src="Images/aspfusion.gif"></td> </tr> </table> </div> <br> <table width="100%" cellpadding="0"> <input type="hidden" value="" name="Logout"> <input type="hidden" value="" name="Insert"> <input type="hidden" value="" name="Modify"> <input type="hidden" value="" name="Delete"> <%if (Request.QueryString("modify") = "1") then%> <input type="hidden" value="0" name="Flag"> <%else%> <input type="hidden" value="1" name="Flag"> <%end if%> <tr> <td colspan="4"><br> <%if Request.QueryString("result") = "0" then%> <p align="left"><font color="#FF0000" face="Arial" size="2"><b><%=Session("Error")%></b></p> <%else%> <p> </p> <%end if%> </td> </tr> <tr> <td colspan="2" valign="top"><br><b><font face="Arial" size="3" color="#800000"><%=Request.QueryString("WebSiteName")%></font></b> </tr> <input type="hidden" name="WebSiteName" value="<%=Request.QueryString("WebSiteName")%>"> <tr> <td width="20%"><br><font size="2" face="Arial">Path</font></td> <td width="80%"><br><input type="text" name="Path" size="40" value="<%if (Request.QueryString("modify") = "1") then set Result = SecurityBox.ReturnValue("WebSite.ini", "Path", Request.QueryString("WebSiteName"))%> <%=Result.value%> <%set Result = nothing end if%>"></td> </tr> <tr> <td width="20%"></td> <td colspan="80%"><font color="#9D9D9D" face="Arial" size="2">Specify physical path on which restricions for this ASPFusion Security Box are applied.</font></td> </tr> <tr> <td width="20%"><font face="Arial" size="2">Description</font></td> <td width="80%"><input type="text" name="Description" size="40" value="<%if (Request.QueryString("modify") = "1") then%> <%set Result = SecurityBox.ReturnValue("WebSite.ini", "Description", Request.QueryString("WebSiteName"))%> <%=Result.value%> <%set Result = nothing end if%>"></td> </tr> <tr> <td width="20%"></td> <td colspan="80%"><font color="#9D9D9D" face="Arial" size="2">Specify one line description for this ASPFusion Security Box.</font></td> </tr> <!--- ASP Include Start Mark ---> <!--- #include file = 'dsp_AdvRegistry.asp' ---> <!--- #include file = 'dsp_AdvIMAP4.asp' ---> <!--- #include file = 'dsp_AdvDSN.asp' ---> <!--- ASP Include End Mark ---> <tr> <td colspan="2"><font face="Arial" size="2">Components</font></td> </tr> <tr> <td width="20%"></td> <td colspan="80%"><font color="#9D9D9D" face="Arial" size="2">Specify components and their methods which are free to use by this ASPFusion Security Box. Uncheck components and unselected methods can not be used under this ASPFusion Security Box.</font></td> </tr> <tr> <td></td> <td> <%set Result = SecurityBox.ReturnValues("Admin.ini", "Settings", "Applied") if (Request.QueryString("modify") = "1") then set Rst = SecurityBox.ReturnValues("WebSite.ini", "Security", Request.QueryString("WebSiteName")) else set Rst = SecurityBox.ReturnValues("Admin.ini", "Settings", "Default") end if%> <div align="center"> <table width="100%" cellpadding="5" cellspacing="5"> <%dim count dim number count = 0 number = 0 for each Member in Result number = number + 1 if (count = 0) then%> <tr> <%end if count = count + 1%> <td valign="top"><b><font face="Arial" size="2"><%=number&"."%></font></b></td><td valign="top"><INPUT Name="Components" Type="checkbox" value="<%=member.value%>" <%for each mem in Rst%> <%if (member.value = mem.value) then%> checked <%end if next%>><font face="Arial" size="2"><%=member.value%></font> <p><SELECT NAME="<%=member.value%>" multiple size="3"> <%set Result1 = SecurityBox.ReturnValues("Admin.ini", "AllMethods", member.value) if (Request.QueryString("modify") = "1") then set Rst1 = SecurityBox.ReturnValues("WebSite.ini", Request.QueryString("WebSiteName"), member.value) else set Rst1 = SecurityBox.ReturnValues("Admin.ini", "DefaultMethods", member.value) end if for each Member1 in Result1%> <OPTION value="<%=Member1.value%>" <%for each mem1 in Rst1 if (member1.value = mem1.value) then%> selected <%end if next%>><%=Member1.value%></OPTION> <%next%> </SELECT></p> </td> <%if (count = 4) then%> </tr> <%count = 0%> <%end if next set Rst1 = nothing set Result = nothing set Rst1 = nothing set Result1 = nothing set SecurityBox = nothing%> </table> </td> </table> <br> <table cellpadding="0" cellspacing="1" width="25%"> <%if (Request.QueryString("modify") = "1") then%> <tr width="100%" align="left"> <td width="35%"><a href="javascript:submit(document.websitesecuritydetailform, document.websitesecuritydetailform.Modify, 'Modify')" onclick="return websitesecuritydetail_checkit();" onmouseover="window.status='Modify'; return true" onmouseout="window.status='';return true"><img src="Images/modify.gif" border="0"></a></td> <td><a href="javascript:if (deleteit(document.websitesecuritydetailform.WebSiteName.value)) submit(document.websitesecuritydetailform, document.websitesecuritydetailform.Delete, 'Delete')" onclick="return websitesecuritydetail_checkit();" onmouseover="window.status='Delete'; return true" onmouseout="window.status='';return true"><img src="Images/delete.gif" border="0"></a></td> </tr> <%else%> <tr width="100%" align="left"> <td><a href="javascript:submit(document.websitesecuritydetailform, document.websitesecuritydetailform.Insert, 'Insert')" onclick="return websitesecuritydetail_checkit();" onmouseover="window.status='Insert'; return true" onmouseout="window.status='';return true"><img src="Images/insert.gif" border="0"></a></td> </tr> <%end if%> </table> <%if (Request.QueryString("modify") = "1") then%> <br> <%end if%> <table align="center" width="100%"> <tr> <td align="center" valign="bottom"> <font face="Arial" color="black" size="1">Copyright ⌐ 2000, Advanced Communications</font> </td> </tr> </table> </form> </body> </html>